package net.osweb.crm.modules.email.bean;

import java.sql.Timestamp;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Recycle entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "email_recycle")
public class Recycle implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = -4659233609911736425L;
	private Integer id;
	private Integer userid;
	private String username;
	private String titlename;
	private String types;
	private Integer typesid;
	private Timestamp deletedtime;
	private String comment;

	// Constructors

	/** default constructor */
	public Recycle() {
	}

	/** full constructor */
	public Recycle(Integer userid, String username, String titlename,
			String types, Integer typesid, Timestamp deletedtime, String comment) {
		this.userid = userid;
		this.username = username;
		this.titlename = titlename;
		this.types = types;
		this.typesid = typesid;
		this.deletedtime = deletedtime;
		this.comment = comment;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "userid")
	public Integer getUserid() {
		return this.userid;
	}

	public void setUserid(Integer userid) {
		this.userid = userid;
	}

	@Column(name = "username")
	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	@Column(name = "titlename")
	public String getTitlename() {
		return this.titlename;
	}

	public void setTitlename(String titlename) {
		this.titlename = titlename;
	}

	@Column(name = "types")
	public String getTypes() {
		return this.types;
	}

	public void setTypes(String types) {
		this.types = types;
	}

	@Column(name = "typesid")
	public Integer getTypesid() {
		return this.typesid;
	}

	public void setTypesid(Integer typesid) {
		this.typesid = typesid;
	}

	@Column(name = "deletedtime", length = 19)
	public Timestamp getDeletedtime() {
		return this.deletedtime;
	}

	public void setDeletedtime(Timestamp deletedtime) {
		this.deletedtime = deletedtime;
	}

	@Column(name = "comment")
	public String getComment() {
		return this.comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

}